$(document).ready(function(){
    //加载全部试题信息
    $.ajax({
        url:"http://localhost:9999/person/selectAll",
        type:"get",
        dataType: "json",
        success :function(rs){
            // document.getElementById("list_1_1").style.setProperty('display','block')
            $("#per").bootstrapTable({
                data:rs.data,
                cache:false,
                columns:[
                    {field:'account',title:'账户'},
                    {field:'personname',title:'姓名'},
                    {field:'pwesonidcard',title:'身份证'},
                    {field:'phone',title:'电话号码'},
                    {field:'email',title:'邮箱'},
                    {field:'gender',title:'性别'},
                    {field:'education',title:'学历'},
                    {field:'nation',title:'民族'},
                    {field:'age',title:'年龄'},
                    {field:'personopen',title:'是否启用'},
                    {field:'personapprove',title:'审批时间'}
                ]
            });
        },
        error:function (rs) {
            alert("抱歉，没有查询到数据");
        }
    })

})